package com.fofia.iotweb.web.dbdomain.models.iot;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(value = "iottag_xdata_timej")
public class IotTagXdataTime implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private int id;

    /// <summary>
    /// 标签id
    /// </summary>
    @Column(value = "tag_id")
    private String tagId;

    /// <summary>
    /// 年月日时
    /// </summary>
    @Column(value = "daytime_hour")
    private int daytimeHour;

    /// <summary>
    /// 反刍分钟数
    /// </summary>
    @Column(value = "xdata")
    private int xdata;

    /// <summary>
    /// 插入时间
    /// </summary>
    @Column(value = "create_time")
    private Date createTime;

    /// <summary>
    /// 备注
    /// </summary>
    @Column(value = "remark")
    private String remark;
}
